# 导包
import requests
# 发送请求
login_url = "http://ihrm-test.itheima.net/api/sys/login"
login_data = {
"mobile": "13800000002",
"password": "123456"
}
login_headers={
"Content-Type": "application/json"}
response = requests.post(url=login_url,json=login_data,headers=login_headers)
# 查看响应
print(response.json())

